package com.heima.comment.dao;

import com.heima.model.comment.pojos.Like;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;



public interface LikeRepository extends MongoRepository<Like, String> {

    Like findByUserIdAndCommentId(long userId, String commentId);
}
